icon-browser: Left-align the sidebar
authorMatthias Clasen <mclasen@redhat.com>
Wed, 17 Apr 2019 01:00:47 +0000 (21:00 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 17 Apr 2019 01:00:47 +0000 (21:00 -0400)
The centered labels just look disorderly.

demos/icon-browser/iconbrowserwin.c

index b6f3b456e3203e6aea7f8ff0cd1d8276e96b7e77..da795cc11253cd89d783328d2b369177815c514d 100644 (file)
@@ -205,6 +205,7 @@ add_context (IconBrowserWindow *win,
   g_hash_table_insert (win->contexts, c->id, c);
 
   row = gtk_label_new (name);
+  gtk_label_set_xalign (GTK_LABEL (row), 0);
   g_object_set_data (G_OBJECT (row), "context", c);
   gtk_widget_show (row);
   g_object_set (row, "margin", 10, NULL);